<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="/WEB-INF/tld/waybillStatus.tld" prefix="ws" %>
<%@ taglib uri="/WEB-INF/tld/showUpsAndWeight.tld" prefix="uw" %>  
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%> 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
		<title>打印详情</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style media=print> 
.Noprint{display:none;} 
.PageNext{page-break-after: always;} 
</style> 
<style> 
.tdp
{ 
border-bottom: 1 solid #000000; 
border-left: 1 solid #000000; 
border-right: 0 solid #ffffff; 
border-top: 0 solid #ffffff;
text-align : center; 
} 
.tabp
{ 
border-color: #000000 #000000 #000000 #000000; 
border-style: solid; 
border-top-width: 2px; 
border-right-width: 2px; 
border-bottom-width: 1px; 
border-left-width: 1px; 
} 
.NOPRINT { 
font-family: "宋体"; 
font-size: 9pt; 
} 

</style> 
	<script type="text/javascript">
		<%String uId = (String) session.getAttribute("Uid");
			if (uId == null || uId.equals("null")) {%>
			window.parent.location.href = 'index.jsp';
		<%}%>
	</script>
</head>


<body>
<center class="Noprint" > 
<p> 
<OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0> 
</OBJECT> 
<input type=button value=打印 onclick=document.all.WebBrowser.ExecWB(6,1)> 
<input type=button value=直接打印 onclick=document.all.WebBrowser.ExecWB(6,6)> 
<input type=button value=页面设置 onclick=document.all.WebBrowser.ExecWB(8,1)> 
</p> 
<p> <input type=button value=打印预览 onclick=document.all.WebBrowser.ExecWB(7,1)> 
<br/> 
</p> 
<hr align="center" width="90%" size="1" noshade> 
</center> 
	<s:iterator id="wb" value="wbTO">
<table width="55%" border="0" align="center" cellpadding="2" cellspacing="0" class="tabp">

<tr> 
<td class="tdp" width="25%"><b>唯一标示符(英文)：</b></td>
<td class="tdp" colspan="3" >
<img src="/barcode?msg=<s:property value='#wb.UreceiveId'/>&type=code39"	height="100px" width="300px" />
</td>
</tr> 
<tr> 
<td class="tdp" width="25%"><b>唯一标示符(数字)：</b></td>
<td class="tdp" colspan="3" >
<img src="/barcode?msg=<s:property value='#wb.Uid'/>&type=code39"	height="100px" width="300px" />
</td>
</tr> 

<tr> 
<td class="tdp" width="25%"><b>订单编号条形码：</b></td>
<td class="tdp" colspan="3" >
<img src="/barcode?msg=<s:property value='#wb.wbId'/>&type=code39"	height="100px" width="300px" />
</td>
</tr> 




<tr> 
<td class="tdp" colspan="4" ><b>To：</b></td>
</tr>  
<tr> 
<td class="tdp" width="25%"><b>订单编号：</b></td>
<td class="tdp" colspan="3"><s:property value="#wb.wbId"/></td>  
</tr> 
<tr> 
<td class="tdp" width="25%"><b>Recipient's Name：</b></td>
<td class="tdp" width="25%"><s:property value="#wb.wbPUname"/></td>  
<td class="tdp" width="25%"><b>Phone：</b></td>
<td class="tdp" width="25%"><s:property value="#wb.wbPUphone"/></td>  
</tr> 
<tr> 
<td class="tdp"><b>Address：</b></td>
<td class="tdp" colspan="3"><s:property value="#wb.wbPUcity"/>&nbsp;&nbsp;<s:property value="#wb.wbPUaddress"/></td>  
</tr> 
<tr> 
<td class="tdp"><b>Country：</b></td>
<td class="tdp">中国</td>  
<td class="tdp"><b>Zip/Postal Code：</b></td>
<td class="tdp"><s:property value="#wb.wbPUzip"/></td>  
</tr> 
<tr> 
<td class="tdp"><b>description of contents：</b></td>
<td class="tdp" colspan="3"><s:property value="#wb.wbGoodsDesc"/></td>  
</tr> 
<tr> 
<td class="tdp" width="25%"><b>运单编号条形码：</b></td>
<td class="tdp" colspan="3" >
<img src="/barcode?msg=SH<s:property value='#wb.wbId'/>LA&type=code39"	height="100px" width="300px" />
</td>
</tr> 
</table> 
</s:iterator>
	
</body>
</html>

